CreateAccessGroup
Description
call the CreateAccessGroup interface to create a permission group.
Request Method
POST
Request Path
/apsara/route/NAS/CreateAccessGroup
Request Parameters Common Parameters
Name | Location | Type | Required | Sample value | Description |
---|---|---|---|---|---|
AccessGroupType | BODY | string | Yes | Classic | permission group type. Value: Vpc: VPC Classic: Classic Network |
Description | BODY | string | No | classictestaccessgroup | permission group description. Limit: The default name is the same as the name, and the length is 2 to 128 English or Chinese characters. must start with a large or small letter or Chinese, and cannot start with http:// and https. can contain numbers, semicolons (:), underscores (_), or dashes (-). |
regionId | BODY | string | Yes | No sample value for this parameter. | region id |
AccessGroupName | BODY | string | Yes | classic-test | permission group name. Limit: is 3 to 64 characters in length. must start with a lowercase letter, which can contain letters, numbers, underscores (_), or dashes (-). the name of the newly created permission group cannot be the same as the two default permission groups. default permission group: DEFAULT_VPC_GROUP_NAME (vpc default permission group) and DEFAULT_CLASSIC_GROUP_NAME (classic network default permission group). |
FileSystemType | BODY | string | No | standard | file system type. default value: standard (general purpose NAS) |
version | BODY | string | No | 2016-01-01 | version of api |
Return data
Name | Type | Sample value | Description |
---|---|---|---|
RequestId | string | 55C5FFD6-BF99-41BD-9C66-FFF39189**** | request ID. |
AccessGroupName | string | classic-test | permission group name. |
Example
Successful Response example
{
"RequestId":"55C5FFD6-BF99-41BD-9C66-FFF39189****",
"AccessGroupName":"classic-test"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}